﻿using Domain.Entities.Customers;
using FrameworkCore.Attributes;

namespace NM.Module.Cust.API.DTOs;

/// <summary>
/// 用户信息
/// </summary>
[Map(typeof(Customer))]
public class CustomerOutput
{
    /// <summary>
    /// 唯一标识
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 用户名
    /// </summary>
    public string? Username { get; set; }

    /// <summary>
    /// 电子邮箱
    /// </summary>
    public string? Email { get; set; }

    /// <summary>
    /// 头像
    /// </summary>
    public string? Avatar { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? Created { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? Updated { get; set; }
}

